﻿// -----------------------------------------------------------------------
// <copyright file="IFace_Recognition.cs" company="FCIS">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace FaceRecognition.Models
{
    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using Emgu.CV;
    using Emgu.CV.Structure;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IFace_Recognition
    {
        /// <summary>
        /// takes an image and return it's buffer after feature extraction.
        /// </summary>
        /// <param name="img">The image.</param>
        /// <returns>The Array of Features.</returns>
        double[] Extract_Features(byte[,] img);

        /// <summary>
        /// make a compare between two strings and return false if not equal, true if equal.
        /// </summary>
        /// <param name="x">First String.</param>
        /// <param name="y">Second String.</param>
        /// <returns>boolean value true if it is the same person false if not.</returns>
        double Matching(double[] x, double[] y);
    }
}
